
#include"Sort.h"
#include"Stack.h"

int main()
{
	int a[] = { 9,4,6,3,7,2,8,1,0,5 };
	//InsertSort(a, sizeof(a) / sizeof(a[0]));
	//ShellSort(a, sizeof(a) / sizeof(a[0]));
	//SelectSort(a, sizeof(a) / sizeof(a[0]));
	//HeapSort(a, sizeof(a) / sizeof(a[0]));
	//BubbleSort(a, sizeof(a) / sizeof(a[0]));
	//QuickSort(a, 0, sizeof(a) / sizeof(a[0]) - 1);
	//QuickSortNonR(a, 0, sizeof(a) / sizeof(a[0]) - 1);
	//MergeSort(a, sizeof(a) / sizeof(a[0]));
	//MergeSortNonR1(a, sizeof(a) / sizeof(a[0]));
	//MergeSortNonR2(a, sizeof(a) / sizeof(a[0]));
	//CountSort(a, sizeof(a) / sizeof(a[0]));
	QuickSort1(a, 0, sizeof(a) / sizeof(a[0]) - 1);

	PrintArr(a, sizeof(a) / sizeof(a[0]));
	return 0;
}